<?php
session_start();
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/database.php');
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/functions.php');
$id=$_GET['id'];
$page_id=$_GET['page_id'];
delete_content($id);
// expire cache
$cachekey=DATABASE.'cached_page_'.$page_id;
expireCache($cachekey);


?>